Skip to content

Apt: Write repo key to own file; require puppetlabs/apt 10.X#243

Merged
TheMeier merged 1 commit intovoxpupuli:masterfrom
bastelfreak:241
Aug 16, 2025
Merged

Apt: Write repo key to own file; require puppetlabs/apt 10.X#243
TheMeier merged 1 commit intovoxpupuli:masterfrom
bastelfreak:241

Conversation

@bastelfreak
Copy link
Member

@bastelfreak bastelfreak commented Jul 12, 2025

Without setting the name attribute, the key will be added to the global
/etc/apt/trusted.gpg keyring. That is deprecated. Also we need to ensure
id isn't set, otherwise apt-key might be invoked to fetch the key from
a keyserver.

Fixes #241

@bastelfreak bastelfreak self-assigned this Jul 12, 2025
@bastelfreak bastelfreak added the bug Something isn't working label Jul 12, 2025
@bastelfreak bastelfreak force-pushed the 241 branch 2 times, most recently from 22fa3e8 to dc46a05 Compare July 12, 2025 19:41
@bastelfreak bastelfreak changed the title (#241) Apt: Write repo key to own file Apt: Write repo key to own file; require puppetlabs/apt 10.X Jul 12, 2025
@TheMeier
Copy link
Contributor

Should this be marked as backward-incompatible because of raising min version for the apt dep?

@bastelfreak
Copy link
Member Author

I am really unsure about it :(

@TheMeier
Copy link
Contributor

because of #246 let's just mark it breaking and get on with it

@TheMeier TheMeier added the backwards-incompatible This change will lead to a major version bump for the next release label Aug 16, 2025
Without setting the name attribute, the key will be added to the global
/etc/apt/trusted.gpg keyring. That is deprecated. Also we need to ensure
`id` isn't set, otherwise apt-key might be invoked to fetch the key from
a keyserver.

Fixes voxpupuli#241
@TheMeier TheMeier merged commit 1b48377 into voxpupuli:master Aug 16, 2025
14 checks passed
@bastelfreak bastelfreak deleted the 241 branch August 20, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards-incompatible This change will lead to a major version bump for the next release bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debian apt deprecation warning for repository gpg key

2 participants